package cn.itlaobing.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import cn.itlaobing.framework.RequestMapping;

public class StudentController {
	Log log=LogFactory.getLog(StudentController.class);
	
	@RequestMapping("/student/save.do")
	public String save(HttpServletRequest request,HttpServletResponse response){
		
		log.info("===============save================");
		
		return "/student/save.jsp";
	}
	@RequestMapping("/student/destory.do")
	public String destory(HttpServletRequest request,HttpServletResponse response){
		return "";
	}
	@RequestMapping("/student/index.do")
	public String index(HttpServletRequest request,HttpServletResponse response){
		log.info("===============index================");
		return "redirect:/student/index.jsp";
	}
	
}
